package com.jk.service;

import com.jk.dao.PopDao;
import com.jk.entity.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PopService {
    @Autowired
    private PopDao popDao;

    public List<Product> getPop(){
        return popDao.getPop();
    }

}




